.loading {
    height: 50px;
    width: 50px;
    border: 5px solid #eee;
    border-top-color: #bbb;
    border-radius: 50px;
    margin: 2rem auto;
    animation: loading 0.8s linear infinite;
}

@keyframes loading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}